package com.hl.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 轮播图对象 carousel
 * 
 * @author ruoyi
 * @date 2025-08-07
 */
public class Carousel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轮播图id，主键自增 */
    private Long carouselId;

    /** 轮播图名称 */
    @Excel(name = "轮播图名称")
    private String carouselName;

    /** 轮播图类型（例如：1-首页轮播 2-分类页轮播 3-活动页轮播） */
    @Excel(name = "轮播图类型", readConverterExp = "例=如：1-首页轮播,2=-分类页轮播,3=-活动页轮播")
    private String carouselType;

    /** 轮播图跳转链接（点击后跳转的URL） */
    @Excel(name = "轮播图跳转链接", readConverterExp = "点=击后跳转的URL")
    private String carouselLink;

    /** 轮播图图片路径 */
    @Excel(name = "轮播图图片路径")
    private String carouselImage;

    /** 是否平台：0 平台，1 商家 */
    @Excel(name = "是否平台", readConverterExp = "0=平台,1=商家")
    private Integer isPlatform;

    /** 状态（1-启用 0-禁用） */
    @Excel(name = "状态", readConverterExp = "1=-启用,0=-禁用")
    private Integer status;

    public void setCarouselId(Long carouselId) 
    {
        this.carouselId = carouselId;
    }

    public Long getCarouselId() 
    {
        return carouselId;
    }

    public void setCarouselName(String carouselName) 
    {
        this.carouselName = carouselName;
    }

    public String getCarouselName() 
    {
        return carouselName;
    }

    public void setCarouselType(String carouselType)
    {
        this.carouselType = carouselType;
    }

    public String getCarouselType()
    {
        return carouselType;
    }

    public void setCarouselLink(String carouselLink) 
    {
        this.carouselLink = carouselLink;
    }

    public String getCarouselLink() 
    {
        return carouselLink;
    }

    public void setCarouselImage(String carouselImage) 
    {
        this.carouselImage = carouselImage;
    }

    public String getCarouselImage() 
    {
        return carouselImage;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public Integer getIsPlatform() {
        return isPlatform;
    }

    public void setIsPlatform(Integer isPlatform) {
        this.isPlatform = isPlatform;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carouselId", getCarouselId())
            .append("carouselName", getCarouselName())
            .append("carouselType", getCarouselType())
            .append("carouselLink", getCarouselLink())
            .append("carouselImage", getCarouselImage())
            .append("isPlatform", getIsPlatform())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
